package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.Customer;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * @author huangxin
 * @description
 * @date 2020/12/2
 */
public interface CustomerService {

    PageInfo<Customer> getCustomersByPageAndCondition(String customerName);

    void saveCustomer(Customer customer);

    void updateCustomerById(Customer customer);

    void deleteCustomersBatch(String ids);

    List<Map<String, Object>> getAllCustomers();
}
